\documentclass[xcolor=dvipsnames,usenames]{beamer}
\usepackage[MeX]{polski}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amssymb,amsmath}
\usepackage{graphicx}
\usepackage{url}
\usepackage{fancyvrb}
\usepackage{listings}
\usepackage{makeidx}
\usepackage{multicol}
\usepackage{hyperref}
%\usepackage[scaled=0.9]{beramono}
\usepackage{bera}
\usepackage{multirow}
\usepackage{tabularx}

%\setbeamertemplate{items}[ball]
\setbeamertemplate{blocks}[rounded][shadow=true]
\setbeamertemplate{navigation symbols}{}

\setbeamertemplate{footline}
{
  \colorbox{white}{
    \small%\normalsize
    \color{PineGreen!90!Fuchsia}
    \begin{tabularx}{0.99\textwidth}{lcXr|}\hline
      \copyright \insertauthor &
      \it \inserttitle &
      \insertsection  &
      \insertframenumber / \inserttotalframenumber
    \end{tabularx}
  }  
}

\setbeamertemplate{frametitle}
{
  %\vskip-2pt
  \vskip4pt
  \leavevmode 
  \hbox{%
     \hspace*{0.01em}\Large\bf\insertframetitle
     %\begin{beamercolorbox}[wd=\paperwidth,ht=2.2ex,dp=0.6ex]{white}
     %  \hspace*{1em}\large\bf\insertframetitle
     %\end{beamercolorbox} 
  } 
}  

\author{Marek ze Szczecina}
\title{UML}

\begin{document}

%\begin{frame}[plain]
%\titlepage
%\end{frame}
%
%\begin{frame}[plain]
%\frametitle{Spis treści}
%{\small
%\begin{multicols}{2}
%\tableofcontents
%\end{multicols}
%}
%\end{frame}

\begingroup%Początek grupy ze zmianą blocku
\setbeamercolor{block title}{bg=Goldenrod!20,fg=blue!40!black}
\setbeamercolor{block body}{bg=lightgray!20,fg=blue!10!black}
\rm
\section{Szereg}
\input{147}

\endgroup%Koniec grupy ze zmianą blocku

\end{document}